<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>在线考试网 - 考生登录</title>
		<link rel="stylesheet" href="./css/index.css" />
	</head>
	<body>
		<!-- 这是在线考试网的考生登录页面 -->
		<header class="header">
			<a href="/" class="logo">
				<div class="logo-img">
					<img src="./img/examicon.svg" alt="在线考试网" />
				</div>
				<span style="font-weight: 700;font-size: 20px;">在线考试网</span>
			</a>
			<a href="./managerlogin.html" class="backend-link">进入后台</a>
		</header>

		<main class="login-container">
			<h1 class="login-title">考生登录</h1>
			<p class="login-subtitle">请输入您的考试信息进行登录</p>

			<form id="loginForm" onsubmit="return handleSubmit(event)">
				<div class="form-group">
					<label for="examId">准考证号</label>
					<input type="text" id="examId" name="examId" required placeholder="请输入准考证号">
				</div>

				<div class="form-group">
					<label for="password">密码</label>
					<input type="password" id="password" name="password" required placeholder="请输入密码">
				</div>

				<div class="button-group">
					<button type="submit" class="btn btn-primary" onclick="studentlogin()">登录</button>
					<button type="reset" class="btn btn-secondary">重置</button>
				</div>

				<div class="links">
					<a href="./studentregister.html">注册</a>
					<a href="./password.html">找回密码</a>
				</div>
			</form>
		</main>
		<script src="./js/index.js"></script>
	</body>
</html>